package com.mjk.manager.magicapi.core.core.annotation;


import com.mjk.manager.magicapi.core.core.config.MessageType;

import java.lang.annotation.*;

/**
 * WebSocket 消息
 *
 * @author mxd
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Message {

    /**
     * @return 消息类型
     */
    MessageType value();
}
